import Vue from 'vue'

import { Tabbar, TabbarItem } from 'vant';
import { NavBar } from 'vant';
import { Loading } from 'vant';
import { Tab, Tabs } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Icon } from 'vant';
import { Grid, GridItem } from 'vant';
import { Field } from 'vant';
import { SwipeCell } from 'vant';
import { Sidebar, SidebarItem } from 'vant';
import { Search} from 'vant';
import { Sticky } from 'vant';
import { Overlay } from 'vant';
import { Toast } from 'vant';


Vue.use(Toast);
Vue.use(SwipeCell);
Vue.use(Field);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Search);
Vue.use(Overlay);

Vue.use(Sticky);

Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Loading);

Vue.use(SwipeCell);


import { Lazyload } from 'vant';
import { Image as VanImage } from 'vant';


// 全局注册


Vue.use(Lazyload);
Vue.use(VanImage);
Vue.use(Icon);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(NavBar);
Vue.use(Tabbar);
Vue.use(Search);
Vue.use(TabbarItem);
